<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
import { setRem } from '@/rem'

export default {
  name: 'App',
  beforeMount() {
    window.addEventListener('load', setRem)
  },
  beforeDestroy() {
    window.removeEventListener('load', setRem)
  }
}
</script>

<style>
html {
}
body {
  padding: 0;
  margin: 0;
}
div {
  -webkit-tap-highlight-color: transparent;
}
a {
  text-decoration: none;
  color: inherit;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /*margin-top: 60px;*/
}
</style>
